from vutils.network import Network


class StockSimulatedBroker(object):
    def __init__(self, parent, domain):
        self.parent = parent
        self.domain = domain

    def http_requests(self, method, path, **kwargs):
        url = self.domain + path
        return Network.http_requests(method, url, headers={"Cookie": f"JWToken={self.parent.token}"}, **kwargs)

    def query_assets(self):
        pass

    def query_position(self):
        pass

    def create_price(self, symbol, direction, side, price, quantity):
        pass


    def start(self):
        pass
